import server from "../utils/request.js";

export function queryAll(){
    return server({
        url:'/userCoupon',
        method:'GET'
    })
}
export function add(data){
    return server({
        url:'/userCoupon',
        method:'POST',
        data
    })
}
export function queryByUserIdCoupon(){
    return server({
        url:'/userCoupon/userId',
        method:'GET'
    })
}